package com.xiaojiu.mvp.model;

import com.xiaojiu.bean.PuBuLiuModel;

import rx.Observable;

/**
 * Created by Jacky on 2016/12/12
 */

public interface ILoginModel {

    /**
     * 登陆
     * @param account  账号
     * @param pass  密码
     * @return
     */
    Observable<PuBuLiuModel> getLogin(String account, String pass);

    /**
     * 注册
     * @param account  账号
     * @param pass  密码
     * @return
     */
    Observable<PuBuLiuModel> getRegister(String account, String pass);

    /**
     * 验证码
     * @param account  账号
     * @param pass  密码
     * @return
     */
    Observable<PuBuLiuModel> getVerification(String account, String pass);


}